package org.example.weboj.handler;

import lombok.Data;

@Data
public class Message {
    private String type;
    private String action;
    private String roomId;
    private String clientId;
    private Object message;
    private String codeHash;

    // 新增：用于接收光标位置
    private Cursor cursor;

    @Data
    public static class Cursor {
        private int row;
        private int column;
    }
}
